package com.daxt.base.common.util;

public class TokenInfo {
	
	private String id;
	private String from;
	
	
	
	public TokenInfo(String id, String from) {
		this.id=id;
		this.from=from;
	}



	public String getId() {
		return id;
	}



	public void setId(String id) {
		this.id = id;
	}



	public String getFrom() {
		return from;
	}



	public void setFrom(String from) {
		this.from = from;
	}

	

	@Override
	public String toString() {
		return "TokenInfo [id=" + id + ", from=" + from + "]";
	}


	public  String getKey() {
		return "id:"+this.getId()+","+"from:"+this.getFrom();
	}
	
	public static String getKey(String... value) {
		return "id:"+value[0]+","+"from:"+value[1];
	}
}
